//package com.example.config;
//
//import org.apache.http.HttpHost;
//import org.elasticsearch.client.RestClient;
//import org.elasticsearch.client.RestHighLevelClient;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * Author by admin, Email xx@xx.com, Date on 2020/5/28.
// * PS: Not easy to write code, please indicate.
// * @author admin
// */
//@Configuration
//public class ElasticSearchClientConfig {
//
//    @Bean
//    public RestHighLevelClient restHighLevelClient() {
//        RestHighLevelClient client = new RestHighLevelClient(
//                RestClient.builder(
//                        new HttpHost("101.132.161.32", 9200, "http")));
//        return client;
//    }
//
//}
